from flask import Flask
from flask_cors import CORS, cross_origin
import router
import pandas as pd

app = Flask(__name__)
app.config['PORT'] = 8000


@app.route("/")
def index():
    return "this is index"


# 加载路由/绑定蓝图
router.init_app(app)
data = pd.read_csv(r'D:\hm\hm_project\data\allDate.csv', encoding='utf-8')

app.run()
